<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Barcodes" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Barcodes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ArrayOfBarcodeResultItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BarcodeResultItem" nillable="true" type="tns:BarcodeResultItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBarcodeResultItem" nillable="true" type="tns:ArrayOfBarcodeResultItem" />
  <xs:complexType name="BarcodeResultItem">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" base="q1:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="BarcodeType" type="tns:BarcodeType" />
          <xs:element minOccurs="0" name="Length" type="xs:int" />
          <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BarcodeResultItem" nillable="true" type="tns:BarcodeResultItem" />
  <xs:simpleType name="BarcodeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Barcode1DReaderADD2">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderADD5">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderBcdMatrix">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderCode128">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderCode39">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderCODE93">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderCodeabar">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderDataLogic2of5">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderEAN128">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderEAN13">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">10</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderEAN8">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">11</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderIata2of5">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">12</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderIndustrial2of5">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">13</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderInterleaved2of5">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">14</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderInverted2of5">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">15</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderMatrix2of5">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderUPCA">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">17</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Barcode1DReaderUPCE">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">18</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="BarcodeType" nillable="true" type="tns:BarcodeType" />
  <xs:complexType name="BarcodeFolderSeparator">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BarcodeSeparator">
        <xs:sequence>
          <xs:element minOccurs="0" name="CorrespondenceFolder" type="xs:boolean" />
          <xs:element minOccurs="0" name="EndChar" type="xs:int" />
          <xs:element minOccurs="0" name="IndexId" type="xs:long" />
          <xs:element minOccurs="0" name="StartChar" type="xs:int" />
          <xs:element minOccurs="0" name="UniqueIndexIdentifier" nillable="true" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BarcodeFolderSeparator" nillable="true" type="tns:BarcodeFolderSeparator" />
  <xs:complexType name="BarcodeSeparator">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" base="q2:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CabIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="DeleteBarCodePage" type="xs:boolean" />
          <xs:element minOccurs="0" name="DocLimit" type="xs:boolean" />
          <xs:element minOccurs="0" name="ErrorManagment" type="xs:boolean" />
          <xs:element minOccurs="0" name="FolderTypeId" type="xs:long" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="InfLimit" type="xs:int" />
          <xs:element minOccurs="0" name="OrganizationId" type="xs:long" />
          <xs:element minOccurs="0" name="SupLimit" type="xs:int" />
          <xs:element minOccurs="0" name="TypeOfBarcode" type="tns:BarcodeSeparatorType" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BarcodeSeparator" nillable="true" type="tns:BarcodeSeparator" />
  <xs:simpleType name="BarcodeSeparatorType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="FolderSeparator">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DocumentSeparator">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="BarcodeSeparatorType" nillable="true" type="tns:BarcodeSeparatorType" />
  <xs:complexType name="BarcodeDocumentSeparator">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BarcodeSeparator">
        <xs:sequence>
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ItemCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ItemIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="PdfMerge" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BarcodeDocumentSeparator" nillable="true" type="tns:BarcodeDocumentSeparator" />
  <xs:complexType name="Barcode">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" base="q3:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="BarCodeSeparatorList" nillable="true" type="tns:ArrayOfBarcodeSeparator" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Enabled" type="xs:boolean" />
          <xs:element minOccurs="0" name="Function" type="tns:BarcodeSeparatorType" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ParamCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Prefix" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Type" type="tns:BarcodeType" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Barcode" nillable="true" type="tns:Barcode" />
  <xs:complexType name="ArrayOfBarcodeSeparator">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BarcodeSeparator" nillable="true" type="tns:BarcodeSeparator" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBarcodeSeparator" nillable="true" type="tns:ArrayOfBarcodeSeparator" />
</xs:schema>